﻿using System;
using System.Collections.Generic;

[Serializable]
public class Tree
{
    public string id { get; set; }
    public string name { get; set; }
    public string icon { get; set; }
    public string url { get; set; }

    //public int intlevel { get; set; }

    /// <summary>
    /// Oracle不支持 直接 使用 Level 关键字，故定义 intLevel
    /// </summary>
    //public int level { get { return intlevel; } }

    public int level { get; set; }
    public string pid { get; set; }

    public int enabled { get; set; }

    public double score { get; set; }

    public bool open { get; set; }
    public bool @checked { get; set; }
    public IEnumerable<Tree> children { get; set; }
}